package com.guxiuwei.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 *
 * </p>
 *
 * @author 谷秀伟
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Worder对象", description="")
public class Worder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "施工单号")
      @TableId(value = "oid", type = IdType.AUTO)
    private Long oid;

    @ApiModelProperty(value = "施工类别")
    private String category;

    @ApiModelProperty(value = "施工厂商")
    private String company;

    @ApiModelProperty(value = "申请人")
    private String applicant;

    @ApiModelProperty(value = "审批人姓名")
    private String uname;

    @ApiModelProperty(value = "审批人部门")
    private String department;

    @ApiModelProperty(value = "审批人联系方式")
    private String phone;

    @ApiModelProperty(value = "工单状态")
    private String status;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "开始日期")
    private Date startday;

    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "结束日期")
    private Date endday;

    @ApiModelProperty(value = "机房")
    private String rid;

    @ApiModelProperty(value = "备注")
    private String remarks;


}
